﻿using System;
namespace iSun.Entity
{
    /// <summary>
    /// 用于树型数据的通用实体
    /// </summary>
	[Serializable]
	[lite.Table(Name ="SysMenu")]
    [iSun.Model.Table("SysMenu", "ID")]
    public class TreeView : iSun.Entity.EntityBase
	{
        public TreeView()
		{

		}
        

		/// <summary>
		///模块ID
		/// </summary>
		[lite.Column]
		private System.Guid _ID;
		public System.Guid ID
		{
 			get { return _ID; }
			set { _ID = value; }
		}

		/// <summary>
		///功能模块名称
		/// </summary>
		[lite.Column]
		private System.String _Name;
		public System.String Name
		{
 			get { return _Name; }
			set { _Name = value; }
		}

		/// <summary>
		///模块父ID
		/// </summary>
		[lite.Column]
		private System.Guid _ParentID;
		public System.Guid ParentID
		{
 			get { return _ParentID; }
			set { _ParentID = value; }
		}

		/// <summary>
		///模板路径[001.001.001][3位]
		/// </summary>
		[lite.Column]
		private System.String _PathCode;
		public System.String PathCode
		{
 			get { return _PathCode; }
			set { _PathCode = value; }
		}

        [lite.Column]
        public string URL
        {
            get;
            set;
        }
	}
}
